package com.backend.service.rbac;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pojo.entity.RoleAuth;
import com.pojo.vo.AuthVO;
import com.pojo.vo.RoleAuthVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleAuthService extends IService<RoleAuth> {
    List<AuthVO> getAuthsByRoleId(Long id);

    Integer removeAuthsByRoleId(Long id);

    Integer updateAuthByRoleId(Long id, List<Long> authIds);
}
